<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    .haha{
      width: 50px;
      height: 50px;
      background: url('./ic_crm_ctype.png');
      /* background-color: skyblue; */
      opacity: 1;
    }
    
  .qwui-wxshare_tip {
    position: absolute;
    width: 196px;
    height: 212px;
    top: 0px;
    left: 0px;
    background: url('./ic_crm_ctype.png') no-repeat;
    background-size: contain;
    opacity: 1;
    
  }
  .qwui-wxshare_tip_text {
    padding: 8px 10px;
    text-align: left;
    color: #fff;
  }
  .tipFade-enter-active{
      transition: all 2s ease;
    }
    .tipFade-leave-active{
      transition: all 2s ease;
    }
    .tipFade-enter{
      opacity: 0;
    }
    .tipFade-leave-active{
      opacity: 0;
    }
  </style>
</head>
<body>
<div id="app">
  <!-- <transition name="tipFade">
    <div class="haha" v-if="xianshi"></div>
  </transition> -->
  <transition name="tipFade">
    <div class="qwui-wxshare_tip" v-if="xianshi">
      <p class="qwui-wxshare_tip_text">分享名片到微信，触达海量客户</p>
    </div>
  </transition>
  <button @click="ooo">开</button>
  <button @click="openWeb">打开</button>
</div>
</body>
<script src="https://cdn.bootcss.com/vue/2.5.16/vue.min.js"></script>
<script>
  var vm = new Vue({
    el: "#app",
    data:{
      xianshi: false
    },
    methods:{
      ooo(){
        this.xianshi = !this.xianshi;
      },
      openWeb(){
        window.open('https://mp.weixin.qq.com/s?__biz=MzA3ODk1MDcwMw==&mid=504426227&idx=1&sn=359d0a855d33920831ffb030824a0302&chksm=045eb6b333293fa58b98cc5a6b455443d26def0d527f6f982b64874c706b15fd36116c8de6bf#rd','_target')
      }
    }
  })
</script>
</html>